
/*////////////////////////////////////////////// 公共接口 /////////////////////////////////////////////////////*/
const API_IMGUPLOAD = 'apiphp/imgupload.php';                                            //图片上传接口，要传入imgCategory标识，用于后台判断上传目录
const URL_PREFIX    = 'api/' ;  //接口前缀

/*////////////////////////////////////////////// 接口列表 /////////////////////////////////////////////////////*/

// 园区管理
const API_SCOPE_LIST   = `${URL_PREFIX}/scope_list.php`          //列表
const API_SCOPE_DETAIL = `${URL_PREFIX}/scope_operation.php?act=detail`;      //详情
const API_SCOPE_ADD    = `${URL_PREFIX}/scope_operation.php?act=add`;         //添加
const API_SCOPE_EDIT   = `${URL_PREFIX}/scope_operation.php?act=edit`;         //修改
const API_SCOPE_DEL    = `${URL_PREFIX}/scope_operation.php?act=del`;         //删除

//省市区接口
const API_ADDR_PROVINCE = `${URL_PREFIX}/addr_province.php`  //省份
const API_ADDR_CITY     = `${URL_PREFIX}/addr_city.php`      //市
const API_ADDR_AREA     = `${URL_PREFIX}/addr_area.php`      //县区
const API_ADDR_SCOPE = `${URL_PREFIX}/addr_scope.php`      //县区

// 统计相关
const API_STATISTIC = `${URL_PREFIX}/statistic.php` // 主统计接口